package com.etc.dao;

import com.etc.entity.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ICategoryDao {

	/**
	 *查询指定页码
	 */
	public List<Category> queryAll(int page);


	/**
	 *查询所有
	 */
	public List<Category> queryAll2();


	/**
	 *插入分页
	 */
	public int insert(Category c);
}